package com.vitech.javacertification.oo;

class Suuuper {

//	@SuppressWarnings("unused")
//	public void aMethod(int iBase) {
//
//		System.out.println("Base");
//
//	}

}

class CovariantCrap extends Suuuper {

	public static void main(String[] argv) {

		CovariantCrap o = new CovariantCrap();
		int iBase = 1000;
		o.aMethod(iBase);

	}

	public void aMethod(Integer iOver) {

		System.out.println("Over Integer");

	}

	
	public void aMethod(Long iOver) {

		System.out.println("Over Long");

	}

	public void aMethod(int iOver) {

		System.out.println("Over int");

	}

	public void aMethod(long iOver) {

		System.out.println("Over long");

	}
	
}
